#ifndef Graphic_H
#define Graphic_H
#include "GLAllInOne.h"

namespace ManchyGL
{
	static class Graphic
	{
	public:
		static const int CLEAR_MASK_COLOR = 1;
		static const int CLEAR_MASK_DEPTH = 2;
		static const int CLEAR_MASK_COLOR_DEPTH = CLEAR_MASK_COLOR | CLEAR_MASK_DEPTH;
	public:
		static void ClearColor(float r, float g, float b, float a);

		static void Clear(int mask);

		static void Swap(GLFWwindow* window);
		static void PollEvents();
		static void SetViewport(int x, int y, int width, int height);
	};
}
#endif